package cn.tedu._053mvcweibo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * Configuration:标注当前类配置类,工程启动时,spring会自动加载该类
 * MapperScan("mapper包的扫描路径"):MyBatis注解,会自动扫描指定包路径下的接口,
 * 并交由Spring为该接口创建实现类
 */
@Configuration
@MapperScan("cn.tedu._053mvcweibo.mapper")
public class MyBatisConfig {
}








